# 绘制折线图
# --utf-8--
def plot_line_graph(x, y):
  import matplotlib.pyplot as plt
  plt.plot(x, y)
  plt.show()

# python 03\plot_line_graph.py
if __name__ == '__main__':
  x=[1, 2, 3, 4, 5]
  y=[2, 4, 6, 8, 10]
  plot_line_graph(x, y)
  pass